package org.qiaice.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SetmealDish {

    private Long id;

    // 套餐 id
    private Long setmealId;

    // 菜品 id
    private Long dishId;

    // 菜品名称(冗余字段)
    private String name;

    // 菜品原价
    private BigDecimal price;

    // 份数
    private Integer copies;
}
